import { View } from "@tarojs/components";
import "./index.scss";
import CheckOut from '../checkOut';

interface Props {
  selected: boolean; // 判断当前用户是不是选中界面
}

function Toolbox(props: Props) {
  return (
    <View className={`toolbox ${props?.selected ? "toolbox-show" : ""}`}>
      <CheckOut />
    </View>
  );
}

export default Toolbox;
